package cn.powertime.evaluation.service.impl;

import cn.powertime.evaluation.entity.CpsKnowledgeBase;
import cn.powertime.evaluation.mapper.CpsKnowledgeBaseMapper;
import cn.powertime.evaluation.service.CpsKnowledgeBaseService;
import cn.powertime.evaluation.vo.CpsSearchVo;
import cn.powertime.evaluation.vo.KnowledgeSearchsVo;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CpsKnowledgeBaseServiceImpl extends ServiceImpl<CpsKnowledgeBaseMapper,CpsKnowledgeBase> implements CpsKnowledgeBaseService {

    @Autowired
    private  CpsKnowledgeBaseMapper cpsKnowledgeBaseMapper;
    @Override
    public List<KnowledgeSearchsVo> knowledgeSearchs(CpsSearchVo cpsSearchVo) {

        return cpsKnowledgeBaseMapper.knowledgeSearchs(cpsSearchVo);
    }
}
